package com.ruoyi.am.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 司机信息对象 am_driver
 * 
 * @author hkkk
 * @date 2020-12-19
 */
public class AmDriver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long driverId;

    /** 工号 */
    @Excel(name = "工号")
    private String driverNum;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idCard;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String carId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String postId;

    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }
    public void setDriverNum(String driverNum) 
    {
        this.driverNum = driverNum;
    }

    public String getDriverNum() 
    {
        return driverNum;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setCarId(String carId) 
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setPostId(String postId) 
    {
        this.postId = postId;
    }

    public String getPostId() 
    {
        return postId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("driverId", getDriverId())
            .append("driverNum", getDriverNum())
            .append("name", getName())
            .append("sex", getSex())
            .append("idCard", getIdCard())
            .append("password", getPassword())
            .append("carId", getCarId())
            .append("status", getStatus())
            .append("postId", getPostId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
